package com.seele.tigerwallet.ui.adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.seele.tigerwallet.R;
import com.seele.tigerwallet.model.FoundModel;

import java.util.List;

public class FoundApplicationAdapter extends BaseQuickAdapter<FoundModel,BaseViewHolder> {


    public FoundApplicationAdapter(int layoutResId) {
        super(layoutResId);
    }

    @Override
    protected void convert(BaseViewHolder helper, FoundModel item) {
        try {
            helper.setImageResource(R.id.icon_img,item.resId);

            helper.setText(R.id.titlte_tv,item.title);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
